<cfoutput>
<cfset blog = request.blogManager.getBlog() />
<cfset skins = request.administrator.getSkins() />
<cfset currentMobileTheme = getSetting("mobileThemeName")>
<form method="post" action="#cgi.script_name#">
	<fieldset>
		<legend>Select theme for mobile device</legend>
		<select name="mobileThemeName">
			<option value="">Select Mobile Theme</option>
		<cfloop from="1" to="#ArrayLen(skins)#" index="i">
			<option value="#skins[i].id#" <cfif skins[i].id eq currentMobileTheme>selected</cfif>>#skins[i].name#</option>
		</cfloop>
		</select>
		</p>
	</fieldset>
	<p class="actions">
	<input type="submit" class="primaryAction" value="Submit"/>
	<input type="hidden" value="event" name="action" />
	<input type="hidden" value="showMobileThemeSettings" name="event" />
	<input type="hidden" value="true" name="apply" />
	<input type="hidden" value="showMobileThemeSettings" name="selected" />
	</p>
</form>
</cfoutput>
